﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Creating the Class</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>
<P><FONT face=Courier>public class FilmHelper {</FONT></P>
<P><FONT face=Courier><STRONG>&nbsp;&nbsp;&nbsp; Session session = 
null; </FONT></P>
<P><FONT face=Courier><STRONG>&nbsp;&nbsp;&nbsp; public FilmHelper() 
{<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.session = 
HibernateUtil.getSessionFactory().getCurrentSession();<BR>
&nbsp;&nbsp;&nbsp; }</STRONG> 
</FONT></P>
<P><FONT face=Courier>}</FONT></P></body>
</html>
